<template>
    <el-card class="basic-container"
       :class="{'basic-container--block':block}">
      <slot></slot>
    </el-card>
</template>

<script>
export default {
  name: "basicContainer",
  props: {
    block: {
      type: Boolean,
      default: false,
    }
  },
  mounted() {
  }
};
</script>

<style lang="scss">
.basic-container {
  // padding-bottom: 8px;
  // padding-right: 5px;
  border-radius: 10px;
  box-sizing: border-box;
  height: 100%;
  .el-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  .el-card__body{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  &--block {
    height: 100%;
    .el-card {
      height: 100%;
    }
  }
  .el-row {
    height: 100%;
    box-sizing: border-box;
  }
  .el-col {
    height: 100%;
    box-sizing: border-box;
  }
  .avue-crud{
    height: 100%;
    box-sizing: border-box;
  }
}
</style>
